package com.softstao.guoyu.mvp.interactor;


import com.softstao.guoyu.global.APIInterface;
import com.softstao.guoyu.model.Image;
import com.softstao.guoyu.utils.MyHttpParams;

import rx.functions.Action1;

/**
 * Created by win7 on 2016/10/18.
 */
public class LaunchInteractor extends BaseInteractor{
    public void launch(String title, Action1<Object> action1){
        MyHttpParams params = new MyHttpParams("title", title);
        builder.setAction(action1)
                .setType(Image.class)
                .setUrl(APIInterface.LAUNCH_IMG)
                .getVolley()
                .post(params);
    }
}
